package com.aspire.nm.component.cmppserverDemo.plugins;

import org.apache.log4j.Logger;

import com.aspire.nm.component.cmppserver.filter.coder.packet.CmppSubmitPacket;
import com.aspire.nm.component.cmppserver.filter.coder.packet.CmppSubmitRespPacket;
import com.aspire.nm.component.cmppserver.plugins.ProcessSubmit;

public class ProcessSubmitImpl implements ProcessSubmit {
    
    private Logger logger = Logger.getLogger(ProcessSubmitImpl.class);
    
    @Override
    public int process(CmppSubmitPacket cmppSubmitPacket, CmppSubmitRespPacket cmppSubmitRespPacket, String user,
            String clientIp) {
        logger.debug(" process cmppSubmitPacket : "+cmppSubmitPacket);
        
        return CmppSubmitRespPacket.RESULT_OK;
    }
}
